
package org.soaism.journey.service.entities;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "location")
public class Location {
	private long idnr;
	private String name;
	private String street;
	private String zip;
	private String city;
	private String country;
	private double latitude;
	private double longitude;
	private double altitude;

	@XmlElement
	public void setIdnr(long idnr) {
		this.idnr = idnr;
	}
	
	public long getIdnr() {
		return idnr;
	}

	@XmlElement
	public String getName() {
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@XmlElement
	public String getStreet() {
		return this.street;
	}
	
	public void setStreet(String street) {
		this.street = street;
	}
	
	@XmlElement
	public String getZip() {
		return this.zip;
	}
	
	public void setZip(String zip) {
		this.zip = zip;
	}
	
	@XmlElement
	public String getCity() {
		return this.city;
	}
	
	public void setCity(String city) {
		this.city = city;
	}
	
	@XmlElement
	public String getCountry() {
		return this.country;
	}
	
	public void setCountry(String country) {
		this.country = country;
	}
	
	@XmlElement
	public double getLatitude() {
		return this.latitude;
	}
	
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	@XmlElement
	public double getLongitude() {
		return this.longitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	@XmlElement
	public double getAltitude() {
		return this.altitude;
	}
	
	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}
	
}
